import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Login from '@/components/Login'
import Manage from '@/components/Manage'
import Order from '@/components/Order'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'HelloWorld',
            component: HelloWorld
        },
        {
            path: '/login',
            name: 'Login',
            component: Login
        },
        {
            path: '/manage',
            name: 'Manage',
            component: Manage
        },
        {
            path: '/order',
            name: 'Order',
            component: Order
        }
    ]
})
